package com.cdtu.mapper;

import com.cdtu.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Sakura
* @description 针对表【user】的数据库操作Mapper
* @createDate 2023-01-08 14:34:35
* @Entity com.cdtu.entity.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<User>findByGrade(@Param("grade") String grade);

    List<User> findIdAndGrade();
    List<Long> finUserByCertifyId(@Param("certifyId") Long certifyId);
}




